package com.xlh.dokka.api.constant;

/**
 * @author cheer
 */
public enum  DokkaErrorCodeEnum {

    CONTAINER_COUNT_LIMIT(501, "已运行的容器到达了数量限制");

    private final int code;
    private final String message;

    DokkaErrorCodeEnum(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
